package com.xianrenit.xianrenpuzi.manager.service;

import com.xianrenit.xianrenpuzi.model.entity.product.Brand;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface BrandService {
    Brand getById(Long id);

    void update(Brand brand);

    void save(Brand brand);

    void deleteById(Long id);

    PageInfo<Brand> list(Integer pageNum, Integer pageSize);

    List<Brand> listAll();

}
